package com.maolong.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author maolong
 * @since 2025-02-09
 */
@TableName("prod_detail")
@ApiModel(value = "ProdDetail对象", description = "")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ProdDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    @ApiModelProperty("添加时间")
    private Date addTime;


    @ApiModelProperty("位置")
    private String localtion;

    @ApiModelProperty("编号")
    private String code;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("型号")
    private String type;

    @ApiModelProperty("出库用途")
    private String purpose;

    @ApiModelProperty("入库数量")
    private Integer inNumber;

    @ApiModelProperty("出库数量")
    private Integer outNumber;

    @ApiModelProperty("剩余量")
    private Integer remain;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("经办人")
    private String addUser;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("月份")
    private Integer month;

}
